﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReviewList.aspx.cs" Inherits="CNVP.JShop.Web.Admin.ReviewList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%=CNVP.Config.UIConfig.SiteName%></title>
<!--#include file="include/basejs.aspx"-->
</head>
<body  onload="ActiveCoolTable()">
    <form id="form1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td class="cell_group">
            <img src="Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="ReviewList.aspx">评论管理</a>
        </td>
    </tr>
  <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
         <td >
                <table border="0" cellspacing="0" cellpadding="0" class="Option">
                  <tr>
                    <td ><img src="Images/Dot08.png" alt=""/> <a href="javascript:void(0)" onclick="delIDSet('',ckCtrl,'CommonWindows/ajaxreview.aspx?action=Stat&FieldID=3&value=true')">删除</a> <img src="Images/Dot06.png" alt=""/> <a href="javascript:void(0)" onclick="delIDSet('',ckCtrl,'CommonWindows/ajaxreview.aspx?action=Stat&FieldID=2&value=true')"> 审核</a> <img src="Images/Dot06.png" alt=""/> <a href="javascript:void(0)" onclick="delIDSet('',ckCtrl,'CommonWindows/ajaxreview.aspx?action=Stat&FieldID=1&value=true')"> 置顶</a></td>
                  </tr>
                </table>
        </td>
        <td>&nbsp;</td>
      </tr>
</table>
</td>
  </tr>
  <tr>
    <td>
       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
                <asp:Repeater ID="rpList" runat="server" >
                <HeaderTemplate>
                      <thead>
                            <tr>
                            <th class="CheckBox"><input onclick="checkAllLine()" id="checkedAll" name="checkedAll" type="checkbox" title="全部选择/全部不选" /></th>
                            <th>会员账号</th>
                            <th>评论主题</th>
                            <th>审核</th>
                            <th>置顶</th>
                            <th>操作</th>
                            <th>时间</th>
                            </tr>
                        </thead>
                         <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                        <tr>
                        <td class="CheckBox"><input id="cbCheck" type="checkbox" class="checkbox" value='<%# Eval("ID")%>' />
                             </td>
                        <td><%#Eval("UserID")%></td>
                        <td>
                            <a href='ReviewReply.aspx?GoToPage=ReviewList&Page=<%=PageIndex %>&id=<%#Eval("ID")%>'><%#Eval("ReviewTitle")%></a>
                            <br />
                            评分：<%#new CNVP.JShop.BLL.BLLRateStatus().GetRateStatus(Convert.ToByte(Eval("rateStatus")))%>
                        </td>
                        <td><%#Eval("IsShow").ToString() == "1" ? "<a href='ReviewChangeStat.aspx?GoToPage=ReviewList&Page=" + PageIndex + "&FieldID=2&value=false&id=" + Eval("ID") + "'>√</a>" : "<a href='ReviewChangeStat.aspx?GoToPage=ReviewList&Page=" + PageIndex + "&FieldID=2&value=true&id=" + Eval("ID") + "'><font color=\"red\">×</font></a>"%> </td><td><%#Eval("IsTop").ToString() == "1" ? "<a href='ReviewChangeStat.aspx?GoToPage=ReviewList&Page=" + PageIndex + "&FieldID=1&value=false&id=" + Eval("ID") + "'>√</a>" : "<a href='ReviewChangeStat.aspx?GoToPage=ReviewList&Page=" + PageIndex + "&FieldID=1&value=true&id=" + Eval("ID") + "'><font color=\"red\">×</font></a>"%></td><td><a href='ReviewReply.aspx?GoToPage=ReviewList&Page=<%=PageIndex %>&id=<%#Eval("ID")%>'>回复</a></td>
                          <td><%#Eval("AddTime")%></td></tr>
                </ItemTemplate>
                <FooterTemplate>
                 <asp:Literal ID="lblEmpty" Text="<tr><td colspan='6'>没有符合条件的条目!</td></tr>" runat="server" Visible='<%#bool.Parse((rpList.Items.Count==0).ToString())%>'></asp:Literal>
                     </tbody>
                </FooterTemplate>
        </asp:Repeater>
                      <tfoot>
                      <tr><td colspan="8"><div id="paging" runat="server"></div></td></tr>
                      </tfoot>
                    </table>

    </td>
  </tr>

</table>
    </form>
</body>
</html>
